package _2025_3_16;

public class singleton {
    private singleton(){};
    private static class Hold{
        static final singleton instacne=new singleton();
    }
    private static singleton getInstance(){
        return Hold.instacne;
    }
}
